package com.oig.sys.auth;


import com.oig.sys.security.EnableOauthResourceServer;
import com.oig.sys.swagger.EnableSwaggerOpenApi;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 需要扫描com.oig.sys.query的SysCommQueryService
 */
@SpringBootApplication(scanBasePackages={"com.oig"})
@EnableDiscoveryClient
@EnableSwaggerOpenApi
@EnableOauthResourceServer
@EnableFeignClients(basePackages = {"com.oig.auth.api","com.oig.sys.msg.api","com.oig.base.api"})
public class SysAuthQueryApplication {

    public static void main(String[] args) {
        SpringApplication.run(SysAuthQueryApplication.class, args);
    }

}
